<?php
return array(
	'no'=>'<i>'.Eleanor::$Language['main']['no'].'</i>',
	'icq'=>'<tr><td class="label">ICQ:</td><td><img src="http://status.icq.com/online.gif?icq={0}&amp;img=5" />{0}</td></tr>',
	'vk'=>'<tr><td class="label"><img src="images/vk.ico" /></td><td><a href="go.php?http://vkontakte.ru/{0}" target="_blank">http://vkontakte.ru/{0}</a></td></tr>',
	'skype'=>'<tr><td class="label">Skype:</td><td><a href="skype:{0}">{1}</a></td></tr>',
	'site'=>'<tr><td class="label">{0}</td><td><a href="go.php?{1}">{1}</a></td></tr>',
	'twitter'=>'<tr><td class="label"><img src="images/twitter.ico" /></td><td><a href="go.php?http://twitter.com/{0}" target="_blank">http://twitter.com/{0}</a></td></tr>',
	'item'=>'<tr><td class="label">{0}</td><td>{1}</td></tr>',

	'table'=>array('callback'=>'TLUserTable'),
);

function TLUserTable($d)
{
	return '<table class="formeditor"><tr class="infolabel"><td colspan="2">'.Eleanor::$Language['account']['gdata'].'</td></tr>
		<tr><td colspan="2"><div style="float: left; margin-right: 10px;"><img src="'.$d['avatar'].'" width="'.$d['av_w'].'" height="'.$d['av_h'].'" alt="'.$d['name'].'" /></div>
			<div>
				<p><strong>'.$d['name'].'</strong></p>
				<p>'.Eleanor::$Language['account']['gen_gr'].' '.$d['group'].'</p>'
		.($d['other_group'] ? '<p>'.Eleanor::$Language['account']['oth_gr'].' '.implode(', ',$d['other_group']).'</p>' : '')
		.'<p>'.Eleanor::$Language['account']['registered'].' '.$d['register'].'</p>
		<p>'.Eleanor::$Language['account']['last_visit'].($d['last_visit'][0] ? $d['last_visit'] : '<i>'.Eleanor::$Language['main']['no'].'</i>').'</p>
	</div></td></tr>'.($d['addon'] ? '<tr class="infolabel"><td colspan="2">'.Eleanor::$Language['account']['a_data'].'</td></tr>'.$d['addon'] : '').'</table>';
}